
        <div class="form-add">
        	<?php admin_msg( $msg ); ?>
    		<form name="add" action="<?php echo $form ?>" method="post">
    			<input type="hidden" value="<?php echo $row['id'] ?>" name="hid" />
            	<table width="100%">
                	<tr>
                        <td width="120">Tên chủ đề</td>
                        <td><input type="text" name="name" value="<?php echo $row['name'] ?>" maxlength="255" class="text" /></td>
            		</tr>
                    <tr>
                        <td>Mô tả</td>
                        <td><textarea name="description" class="text textarea2" cols="10" rows="10"><?php echo $row['description'] ?></textarea></td>
                    </tr> 
            		<tr>
                        <td colspan="2" class="h4">Định dạng</td>
                    </tr>
                    <tr>
                        <td width="120">Tên class</td>
                        <td><input type="text" name="css" value="<?php echo $row['style'] ?>" maxlength="255" class="text" /></td>
            		</tr>
            		<tr>
                        <td colspan="2" class="h4">Liên kết tới</td>
                    </tr>
                    <tr>
                        <td width="120">Đường dẫn</td>
                        <td><input type="text" name="link" value="<?php echo $row['link'] ?>" maxlength="255" class="text" /></td>
            		</tr>
                    <tr>
                        <td colspan="2" class="h4">Thuộc chủ đề</td>
                    </tr>
                    <tr>
                        <td>Chọn chủ đề</td>
                        <td>
                           	<?php admin_cat_combo( $menu, (int)$row['id_parent'], 10 ); ?>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="h4">Tùy chọn</td>
                    </tr>
                    <tr>
                        <td>Hiển thị</td>
                        <td>
                            <p>
                                <input <?php if ( $row['status'] == 1 ) echo 'checked="checked"'; ?> type="radio" name="status" value="1" /> <span>Có</span>
                                <input <?php if ( $row['status'] == 0 ) echo 'checked="checked"'; ?> type="radio" name="status" value="0" /> <span>Không</span>
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><input type="submit" name="submit" value="Sửa chủ đề" class="button" /></td>
                    </tr>
                </table>
            </form>            
		</div>